<!-- application/layouts/scripts/layout.phtml -->
<?php echo $this->doctype() ?>
<html>
<head>
	<!-- Affichage des meta-tags -->
	<?php echo $this->headMeta(); ?>
	<title>OpenDCF</title>
<?php 
	echo $this->headScript()->appendFile($this->baseUrl('/js/jquery/jquery172.js'), 'text/javascript')
							->appendFile($this->baseUrl('/js/bootstrap.js'), 'text/javascript');
	echo $this->headLink()->appendStylesheet($this->baseUrl('/css/bootstrap.css'))
							->appendStylesheet($this->baseUrl('/css/bootstrap-responsive.min.css'));
?>
	<style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }

	  /* Customize the navbar links to be fill the entire space of the .navbar */
      .navbar .navbar-inner {
        padding: 0;
      }
      .navbar .nav {
        margin: 0;
        display: table;
        width: 100%;
      }
      .navbar .nav>li {
        display: table-cell;
        width: 1%;
        float: none;
      }
      .navbar .nav li a {
        font-weight: bold;
        text-align: center;
        border-left: 1px solid rgba(255,255,255,.75);
        border-right: 1px solid rgba(0,0,0,.1);
      }
      .navbar .nav li:first-child a {
        border-left: 0;
        border-radius: 3px 0 0 3px;
      }
      .navbar .nav li:last-child a {
        border-right: 0;
        border-radius: 0 3px 3px 0;
      }
    </style>
	<script>
		$(document).ready(
			function () {
				$(".articles").prepend("<i class='icon-barcode icon-white'></i>");
				$(".clients").prepend("<i class='icon-home icon-white'></i>");
				$(".outils").prepend("<i class='icon-wrench icon-white'></i>");
				$(".deconnexion").prepend("<i class='icon-off icon-white'></i>");
				
			}
		);
	</script>
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
			 
				<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				</a>
				 
				
				 
				<!-- Everything you want hidden at 940px or less, place within here -->
				<div class="nav-collapse collapse">
					<!-- Be sure to leave the brand out there if you want it shown -->
					<!--<a class="brand" href="#">OpenDcf</a>-->
					<?php //echo $this->navigation()->menu()->renderMenu(null, array('minDepth'=>0, 'maxDepth'=>0, 'ulClass'=>'nav')); ?>
					<?php $partial = array('navigation.phtml', 'default') ?>
					<?php $this->navigation()->menu()->setPartial($partial) ?>
					<?php echo $this->navigation()->menu()->render() ?>
				 </div>

			</div>
		</div>
	</div>

    <div class="container">
      	<?php echo $this->layout()->content ?>
	</div>
</body>
</html>